﻿@model $prjsn$.Common.Models.Services.IArticleModel

@*<fieldset class="w98p mh300 "><legend>@GetLocalized("Result")</legend><div>

    <div class="scroller w98p document h280" id="TextConverted" >
        @X(Model.ConvertedText)
    </div>

</div></fieldset>*@

<script type="text/javascript" language="javascript">
        TextConvertedId = "TextConverted"; // defined in 270textArea.js
        var EditedTextId = "Text";
        var ConvertTextUrl = "@(Url.Action("ConvertText", Str.Controllers.Article))";
</script>

@AddControls(
    new Fieldset("w98p mh550 editBox", "TextSource")
    {
        new TextOrTextArea()
        .SetSourceProperty(() => Model.Item.Text)
        .SetInputName("Text")
        .SetCssClassName("editor h520 w100p"),
    })